package com.xnew.calendar.service;

import com.xnew.bean.common.WorkCalendarInfo;

import java.util.List;

/**
 * @Author yangcd
 * @Date 2020/12/23
 */
public interface WorkCalendarInfoService {

    List<WorkCalendarInfo> queryWorkCalendarList(String yearNo) throws Exception;

    void batchSaveWorkCalendar(String yearNo, List<WorkCalendarInfo> list) throws Exception;

    void deleteWorkCalendarInfo(String yearNo) throws Exception;

    String getWorkCalendarInfo(String date, int interval) throws Exception;

    boolean ifOverTime(String date, int interval) throws Exception;
}
